const baidu = '/baiduMap';
const baiduLocal = 'http://127.0.0.1:3000';

export const urlMap = {
  AK: 'DCoIgWlQutq6T0ZoGHhhXLNSYuzA0Clp', // AK
  baiduCom: baidu + '/',
  getAddressTip: baidu + '/place/v2/suggestion', // 获取地点提示
  getCity: baidu + '/api_recog_address/v1/recog', //GET请求
  getIPAddress: baidu + '/location/ip', // 获取ip地址大致位置
  geoconv: baidu + '/geoconv/v1/', // 坐标转换
  getNetIP: baidu + '/IPAddress/cityjson?ie=utf-8', // 获取ip地址
  driving: baidu + '/routematrix/v2/driving', // 获取驾车算路
  drivingRoad: baiduLocal + '/directionlite/v1/driving', // 获取驾车路线
};

export default {};
